package com.gitee.linmt.enums;

/**
 * @author <a href="mailto:lin-mt@outlook.com">lin-mt</a>
 */
public enum Apple implements Fruit {
    
    /**
     * 苹果大小
     */
    BIG("0601", "大", "大的苹果"),
    SMALL("0602", "小", "小的苹果");
    
    private final String code;
    
    private final String value;
    
    private final String description;
    
    Apple(String code, String value, String description) {
        this.code = code;
        this.value = value;
        this.description = description;
    }
    
    @Override
    public String getCode() {
        return code;
    }
    
    @Override
    public String getValue() {
        return value;
    }
    
    @Override
    public String getDescription() {
        return description;
    }
}
